package com.powerhua.cms;

import com.powerhua.core.bean.BeansRegisterLocator;
import com.powerhua.cms.domain.logic.ContentManager;
import com.powerhua.cms.persistence.file.CmsFileManager;

public class CmsUtils {

    /*
     * 
     */
	public static ContentManager getContentManager() {
		ContentManager contentManager =
			(ContentManager) BeansRegisterLocator.getBean("contentManager");
		return contentManager;
	}

	public static CmsFileManager getCmsFileManager() {
		CmsFileManager contentManager =
			(CmsFileManager) BeansRegisterLocator.getBean("cmsFileManager");
		return contentManager;
	}
}
